package com.dime.physical.service;

import java.util.Date;
import java.util.List;
import com.dime.physical.domain.DimePhysicalregister;
import com.dime.physical.domain.InputGroup;
import com.dime.physical.domain.dto.*;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * 人员登记Service接口
 * 
 * @author Tiny
 * @date 2023-09-14
 */
public interface IDimePhysicalregisterService {
    /**
     * 查询人员登记
     *
     * @param id 人员登记主键
     * @return 人员登记
     */
    public DimePhysicalregister selectDimePhysicalregisterById(String id);

    /**
     * 查询人员登记列表
     *
     * @param dimePhysicalregister 人员登记
     * @return 人员登记集合
     */
    public List<DimePhysicalregister> selectDimePhysicalregisterList(DimePhysicalregister dimePhysicalregister);

    /**
     * 新增人员登记
     *
     * @param dimePhysicalregister 人员登记
     * @return 结果
     */
    public int insertDimePhysicalregister(DimePhysicalregister dimePhysicalregister);

    /**
     * 修改人员登记
     *
     * @param dimePhysicalregister 人员登记
     * @return 结果
     */
    public int updateDimePhysicalregister(DimePhysicalregister dimePhysicalregister);

    /**
     * 批量删除人员登记
     *
     * @param ids 需要删除的人员登记主键集合
     * @return 结果
     */
    public int deleteDimePhysicalregisterByIds(String[] ids);

    /**
     * 删除人员登记信息
     *
     * @param dimePhysicalregister 人员登记主键
     * @return 结果
     */
    public int deleteDimePhysicalregisterById(DimePhysicalregister dimePhysicalregister);


    public int insertBQregister(PhysicalDto physicalDto);


    public List<PhysicalDto> getBQregisterInfoByidnoOrvid(String idno,String vid);

    public DimePhysicalregister checkregisterInfoByVid(String vid);

    public int getReport(DimePhysicalregister dimePhysicalregister);

    public List<InquiryPhysicalregister> getTodayRegisterinquirylist(SearchPhysicalregister dimePhysicalregister);


    public List<DimePhysicalregister> searchDimePhysicalregisterList(SearchPhysicalregister searchPhysicalregister);


    public List<DimePhysicalregister> searchMainCheckDimePhysicalregisterList(SearchPhysicalregister searchPhysicalregister);

    public List<DimePhysicalregister> selectInputRegistersByGroupId(String groupId);

    public DimePhysicalregister selectInputRegisterBycheckCode(String checkCode);

    public boolean UpdatePhysicalRegistercompletStatus(DimePhysicalregister dimePhysicalregister);

    public RegisterViewDto getPhysicalInfo(DimePhysicalregister dimePhysicalregister);

    public  int updateDimePhysical(PhysicalDto dimePhysicalregister);

    public  PhysicalDto selectDimePhysicalById(String id);

    public List<InquiryPhysicalregister> selectDimePhysicalregisterinquiryList(SearchPhysicalregister searchPhysicalregister);

    // public RegisterViewDto getBQregisterInfoByVid(String vid);
}
